Contextual Grammars
نویسنده
چکیده
Let V be a finite non-void set ; V lary. Every finite sequence of elements in ia called a vocnbuV is said to be a s t r i n g o n V. G i v e n a s t r i n g x = a l a 2 . . . a n , t h e n u m b e r n i s c a l l e d t h e l e n g t h o f x . The s t r i n g o f l e n g t h z e r o i s c a l l e d t h e n t r i n g a n d i s d e n o t e d b y r~J . Any s e t o f s t r i n g s o n V i s c a l l e d a l a n g u a g e o n V. The s e t o f a l l s t r i n g s on V ( t h e n u l l s t r i n g i n c l u s i v e l y ) i s c a l l e d t h e u n i v e r s a l l a n g u a g e o n V. By a nwe denote the string a...a, where a is iterated n times. Any ordered pair (u,v~ of strings on V_ is said to be a contex~ on V. The string x is admitted by the context With respect to the language L if u~ G L. Let .~ be a finite set of strings on the vocabulary V~ and let@be a finite se@ of contexts on V. The triple (v,~, ~)) (1)
منابع مشابه
Bidirectional Contextual Grammars
The present paper introduces and discusses bidirectional contextual grammars as a straightforward generalization of externally generating contextual grammars without choice. In essence, besides ordinary derivation steps, the bidirectional contextual grammars can also make reduction steps, which shorten the rewritten strings. This paper demonstrates that these grammars characterize the family of...
متن کاملContextual Hypergraph Grammars - A New Approach to the Generation of Hypergraph Languages
In this paper, we introduce contextual hypergraph grammars, which generalize the total contextual string grammars. We study the position of the class of languages generated by contextual hypergraph grammars in comparison with graph languages generated by hyperedge replacement grammars and double-pushout hypergraph grammars. Moreover, several examples show the potential of the new class of gramm...
متن کاملk-Local Internal Contextual Grammars
In this paper we propose a generalization of the local internal contextual grammars, introduced by Ilie in 1997, namely the k-local internal contextual grammars. These grammars are, in fact, classical internal contextual grammars, but their only permitted derivations are those that can be described in a restricted manner (that depends on the number k). Within this formalism we define different ...
متن کاملContexts on Trajectories
We introduce and investigate a new way of generating mildly context-sensitive languages. The main idea is that the contexts are adjoined by shu ing them on certain trajectories. In this way we obtain also a very general class of contextual grammars such that most of the fundamental classes of contextual grammars, for instance, internal contextual grammars, external contextual grammars, n-contex...
متن کاملContextual Array Grammars with Matrix and Regular Control
We investigate the computational power of d-dimensional contextual array grammars with matrix control and regular control languages. For d ≥ 2, d-dimensional contextual array grammars are less powerful than matrix contextual array grammars, which themselves are less powerful than contextual array grammars with regular control languages. Yet in the 1-dimensional case, for a one-letter alphabet, ...
متن کاملContextual Grammars with Distributed Catenation and Shuffle
We introduce a new type of contextual grammars. Instead of considering the catenation operation we use the distributed catenation operation. The contexts are distributed catenated with words from the language, de ning in this way new words from the language. We investigate several properties of the languages generated by distributed catenated contextual grammars. Finally, we also present the re...
متن کامل